package com.gongj.shej.策略模式;

import org.springframework.stereotype.Component;

/**
 * @program: shej
 * @description:
 * @author: gongj
 * @Description: TODO
 * @create: 2020-07-23 19:42
 **/
/*
具体的策略实现
  */
@Component("strategy30")
public class Strategy30 implements Strategy {

    @Override
    public void get(int money) {
        System.out.println("策略模式---" + money + "块，这么贵，吃啥吃，回家");
    }
}
